]> dgit.raspbian.org Git - grub2.git/commit
fix-for-gcc-2.16-1
authorGRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>
Wed, 23 Sep 2026 20:39:45 +0000 (21:39 +0100)
committerSteve McIntyre <93sam@debian.org>
Wed, 23 Sep 2026 20:39:45 +0000 (21:39 +0100)
commit80ee5e0a284cd7ddd263ddf3ee5bcedcbf8e9733
tree3b01c5491aad77d7b559e7b6cd3a8b39c9e23f9f
parent0cb6c85508ec54ed994ffe3df7aff9415c149695
fix-for-gcc-2.16-1

commit 9f4a586f1227a8287e1d6acd95893f6098756ee2
Author: Nicholas Vinson <nvinson234@gmail.com>
Date:   Tue Feb 24 19:48:41 2026 -0500

    util/probe: Save strrchr() ret val to const data ptr

    With glibc-2.43 implementing the C23 standard, strrchr() now returns
    "const char *" when its first argument is "const char *".

    The fix is update all pointers receiving strrchr()'s return value so
    that they are now "const char *" instead of "char *".

Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name fix-for-gcc-2.16-1.patch
util/probe.c